Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Add --mem-allocated to vdc create #539

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dtolan
Copy link

@dtolan dtolan commented Sep 29, 2020

To help us process your pull request efficiently, please include:

  • (Required) Short description of changes in the PR topic line
    Added optional flag --mem-allocated to vdc.py and updated vdc help to include fully qualified options for create

  • (Required) Detailed description of changes include tests and
    documentation. If the pull request contains multiple commits with
    detailed messages, refer to those instead

1 Added Optional Tag for --mem-allocated
2. Added additional detailed help for vcd vdc with options for AllocationPool
3. Added @click.option for '--mem-allocated' with description
4. Added mem_allocated to dev create.

Tested against - VMware Cloud Director version: 10.1.2.16779297

Purpose for change :
In trying to add a vdc with --allocation-model AllocationPool had the following error
Status code: 400/BAD_REQUEST, [] The value for allocated memory must be above zero. You provided 0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant